<?php

class spContainerNED extends spDiv
{
	public function __construct( $param )
	{
		parent::__construct();
		
		$id = spGuid::v4();
		
		$a = $param["ned"];
		$a["databaseinfo"] = "#".$id;		

		$left = new spGuiListBoxNED( $a );
		
		$right = new spDiv(array( 
			"id" => $id,
			"style"=>array(
				"float" => "left"
			)
		));
		
		$table = new spTable2;
		$body = $table->addBody();
		list($c0, $c1) = $body->addCols(array(
			$left,
			$right
		));
		parent::addChild( $table );
		
		$c0->addStyle( "vertical-align", "top" );
		$c1->addStyle( "vertical-align", "top" );
	}
}

?>